package com.blrs.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 contract_payment_method
 *
 * @author ruoyi
 * @date 2024-02-23
 */
public class ContractPaymentMethod extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private String paymentId;

    /** 合同id */
    @Excel(name = "合同id")
    private String contractId;

    /** 款项名称 */
    @Excel(name = "款项名称")
    private String paymentName;

    /** 收款金额 */
    @Excel(name = "收款金额")
    private BigDecimal amountCollected;

    private Date estimatedCollectionTime;

    public void setPaymentId(String paymentId)
    {
        this.paymentId = paymentId;
    }

    public String getPaymentId()
    {
        return paymentId;
    }
    public void setContractId(String contractId)
    {
        this.contractId = contractId;
    }

    public String getContractId()
    {
        return contractId;
    }
    public void setPaymentName(String paymentName)
    {
        this.paymentName = paymentName;
    }

    public String getPaymentName()
    {
        return paymentName;
    }
    public void setAmountCollected(BigDecimal amountCollected)
    {
        this.amountCollected = amountCollected;
    }

    public BigDecimal getAmountCollected()
    {
        return amountCollected;
    }
    public void setEstimatedCollectionTime(Date estimatedCollectionTime)
    {
        this.estimatedCollectionTime = estimatedCollectionTime;
    }

    public Date getEstimatedCollectionTime()
    {
        return estimatedCollectionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("paymentId", getPaymentId())
                .append("contractId", getContractId())
                .append("paymentName", getPaymentName())
                .append("amountCollected", getAmountCollected())
                .append("estimatedCollectionTime", getEstimatedCollectionTime())
                .toString();
    }
}
